tools/Makefile: unset MAKELEVEL before building QEMU
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 19 Oct 2017 14:29:56 +0000 (15:29 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 20 Oct 2017 10:37:20 +0000 (11:37 +0100)
commit575da5ceb427ce649eb22c1aea105af147d22487
tree65893f28c665844f99f45a50072746b2381cf199
parent8ba5f63d3afd59001c35b1494f0416131de439a4
tools/Makefile: unset MAKELEVEL before building QEMU

Since QEMU commits aef45d51d1204f3335fb99de6658e0c5612c2b67
"build: automatically handle GIT submodule checkout for dtc"
the QEMU makefiles rely on the variable MAKELEVEL to make a decision on
whether to update some git submodules or not. Since we call QEMU build
from within the Xen one, MAKELEVEL would already be greater than 0 and
the git submodules would not be updated and QEMU would fail to build.

Fix this by removing MAKELEVEL from the environment before trying to
build QEMU.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Release-acked-by: Julien Grall <julien.grall@linaro.org>
tools/Makefile